<?php

namespace App;

use Illuminate\Database\Eloquent\Model;

class UserApp extends Model
{
    protected $fillable = ['name', 'user_id', 'icon_url', 'redirect_url', 'query_param', 'redirect_switch', 'mobile', 'del_flag'];

    public function adminUser() {
        return $this->hasOne(AdminUser::class, "id", "user_id");
    }
}
